export default {
	css: {
		// 根节点若无尺寸，自动获取父级节点
		width: '750rpx',
		height: '750rpx'
	},
	views: [{
			type: 'image',
			src: '${背景图}',
			css: {
				width: '750rpx',
				height: '750rpx',
				position: 'absolute',
				objectfit: 'cover',
				borderRadius: '20rpx',
			}
		},
		{
			css: {
				zIndex: 1,
				display: 'flex',
				position: "absolute",
				padding: '15px',
				alignItems: 'center'
			},
			views: [{
					type: 'image',
					src: '${头像}',
					css: {
						objectFit: "cover",
						width: "105rpx",
						border: "2rpx solid #fff",
						boxSizing: "border-box",
						height: "105rpx",
						borderRadius: "50%",
						marginRight: '9px'
					}
				},

				{
					css: {
						flex: 1,
					},
					views: [{
							type: 'text',
							text: '${用户姓名}',
							css: {
								fontSize: '22px',
								color: "${颜色}"
							},
						},
						{
							css: {
								flex: 1,
								display: 'flex',
								flexDirection: 'row',
								alignItems: 'center'
							},
							views: [{
									type: 'text',
									text: '${申请数量}',
									css: {
										fontSize: '18px',
										color: "${颜色}",
										fontWeight: 'bold'
									},
								},
								{
									type: 'text',
									text: '人找过${用户姓名}办理贷款',
									css: {
										fontSize: '14px',
										color: "${颜色}"
									}
								}
							],
							type: "view"
						},

					],
					type: "view"
				},

				{
					css: {},
					views: [{
						type: 'text',
						text: '${年月日}',
						css: {
							marginTop: '-15rpx',
							color: "${颜色}",
							fontSize: '16px'
						},
					}],
					type: "view"
				},
			],
			type: "view"
		},

		{
			css: {
				top: '190rpx',
				zIndex: 1,
				left: '15px',
				position: "absolute",
			},
			views: [{
					css: {},
					views: [{
						type: 'text',
						text: '连续早起',
						css: {
							fontSize: '20px',
							color: "${颜色}"
						},
					}],
					type: "view"
				},
				{
					css: {},
					views: [{
						type: 'text',
						text: '第${天数}天',
						css: {
							fontSize: '35px',
							color: "${颜色}",
							fontWeight: 'bold'
						},
					}],
					type: "view"
				},
				{
					css: {
						marginTop: '15px',
						zIndex: 1,
					},
					views: [{
						type: 'text',
						text: '今日打卡',
						css: {
							fontSize: '22px',
							color: "${颜色}"
						},
					}],
					type: "view"
				},
				{
					views: [{
						type: 'text',
						text: '${时间}',
						css: {
							fontSize: '35px',
							color: "${颜色}",
							fontWeight: 'bold'
						},
					}],
					type: "view"
				},
			],
			type: "view"
		},
		// {
		// 	css: {
		// 		left: "15px",
		// 		bottom: '18px',
		// 		position: "absolute",
		// 	},
		// 	views: [{
		// 		type: 'text',
		// 		text: "${内容}",
		// 		css: {
		// 			fontSize: '16px',
		// 			color: "${颜色}",
		// 			fontWeight: 'bold'
		// 		},
		// 	}],
		// 	type: "view"
		// },
		{
			css: {
				right: "17px",
				bottom: '16px',
				position: "absolute",
			},
			views: [{
					type: 'qrcode',
					text: '${二维码}',
					css: {
						padding: '5px',
						width: '130rpx',
						height: '130rpx',
						background: 'white',
						display: 'block'
					}
				},
				{
					type: 'text',
					text: "扫码说早安",
					css: {
						fontSize: '16px',
						color: "white",
						fontWeight: 'bold'
					},
				}
			],
			type: "view"
		}

	]
}